package cn.ljz.boke.service.impl;

import cn.ljz.boke.mapper.BlogsMapper;
import cn.ljz.boke.pojo.Logs;
import cn.ljz.boke.service.BlogsService;
import lombok.SneakyThrows;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BlogsServiceImpl implements BlogsService {

    @Autowired
    private BlogsMapper blogsMapper;

    @SneakyThrows
    @Override
    public List<Logs> showIndexLogs() {
        return blogsMapper.showIndexLogs();
    }

}
